package lab02.test07;

public class Test {
    public static void main(String[] args) {
        /*程序执行流程：*/

        Person chen = new Person();
        chen.name = "chengongsuo0";
        chen.age = 20;
        chen.idcard = "123456789";

        System.out.println(chen.getString());
        Student zhen =new Student();
        zhen.name="zhen";
        zhen.age=20;
        zhen.idcard="5105121541242";
        zhen.sno="10552153";
        zhen.university="sctu";

        System.out.println(zhen.getString());
    }
}
